﻿using CatUtils.Utils.Currency.IoUtils;
using CatUtils.Utils.SpecialUtils.ContentRecognition.BaiduUtils.Ocr;
using IDCardHelper.UserUtils;
using IDCardHelper.UserUtils.Ocr.OcrJson;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace IDCardHelper
{
    public partial class MainView : Form
    {
        public MainView()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            OcrHelper.IdCardFront();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            OcrHelper.IdCardBack();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            FloderHelper.OpenFloder(".\\");
        }

        private void button4_Click(object sender, EventArgs e)
        {
            OcrHelper.BusinessLicense();
        }

        private void button5_Click(object sender, EventArgs e)
        {
            OcrHelper.BankCard();
        }

        private void button6_Click(object sender, EventArgs e)
        {
            OcrHelper.ReadReceipt();
        }
    }
}